﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S_Gridding.Domains.FoundGridding
{
    /// <summary>
    /// 网格队伍管理
    /// </summary>
    [SugarTable("Teamgrid")]
    public class Teamgrid
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 网络名称
        /// </summary>
        [SugarColumn(Length = 50)]
        public string? Grid_name { get; set; }
        /// <summary>
        /// 所属层级
        /// </summary>
        [SugarColumn(Length = 50)]
        public string? Subordinate_level { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public int Owning_region { get; set; }
        /// <summary>
        /// 网格长
        /// </summary>
        [SugarColumn(Length = 50)]
        public string? Mesh_Length { get; set; }
        /// <summary>
        /// 网格员
        /// </summary>
        [SugarColumn(Length = 50)]
        public string? Grid_inspector { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public bool IsDel { get; set; } = false;
    }
}
